home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!harden.demon.co.uk
- From: Mark Harden <mark@harden.demon.co.uk>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Disk Space Left
- Date: Fri, 1 Mar 96 19:03:47 GMT
- Organization: Private Node
- Message-ID: <9603011903.AA001o8@harden.demon.co.uk>
- References: <DnL5B6.62u.0.staffin.dcs.ed.ac.uk@dcs.ed.ac.uk>
- X-NNTP-Posting-Host: harden.demon.co.uk
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
- X-Mail2News-Path: disperse.demon.co.uk!post.demon.co.uk!harden.demon.co.uk
-
- Christopher Carr (cdc@dcs.ed.ac.uk) wrote:
- : How do you correctly calculate the available disk space
- : left on any single device. I am referring to the the fact that some
- : small files take a minimun block size.
-
- Use the bitmap. Count the bits. Each is a 512 block chunk.
-
- Note that if you have 1M free you are unlikely to be able to store 1M simply
- because of file headers and extension blocks...
-